package com.nft.collection.controller;

import com.nft.collection.service.BankCardManagementService;
import com.nft.common.utils.IdUtils;
import com.nft.common.utils.Validator;
import com.nft.common.vo.Result;
import com.nft.member.domain.BankCardManagement;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Date;
import java.util.List;

@RestController
@RequestMapping("/bankCardMean")
public class BankCardManagementController {
    @Autowired
    private BankCardManagementService bankCardManagementService;


    /**
     * 查询
     */
    @GetMapping("queryBackInfo")
    public Result<List<BankCardManagement>> queryBackInfo() {
        List<BankCardManagement> bankCardManagement =
                bankCardManagementService.queryBackInfo();
        return Result.success(bankCardManagement);
    }

}
